package com.echo.code.thread.future;

/**
 * Future Created by baiyap on 2018/9/24.
 */
public interface Future<T> {

  void finish(T result);

  T get() throws InterruptedException;

  boolean finish();
}
